package com.meteor.query;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.meteor.framework.common.query.Query;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @author lynn
 * @date 2024/2/27
 */

@Data
@EqualsAndHashCode(callSuper = false)
@Schema(description = "访客管理")
public class VisitorQuery extends Query {

    @Schema(description = "社区id")
    private String communityId;

    @Schema(description= "访客姓名")
    private String visitorName;

    @Schema(description= "访客手机号")
    private String visitorPhoneNumber;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Schema(description= "到访时间")
    private Date visitorDate;

    @Schema(description= "用户id")
    private String userId;

}
